export const data = {
  form: {},

  queryParams: {
    total: 0,
    dateRange: [],
    pageNum: 1,
    pageSize: 10,
    po: null,
    barcodeNo: null,
    cpn: null,
    invNo: null,
    mpn: null,
  },
  rules: {
    barcodeNo: [{ required: true, message: "条码流水号不能为空", trigger: "blur" }],
  },
}

export const column = [
  { prop: "barcodeNo", label: "条码流水号", width: 160, minWidth: 50 },
  { prop: "cpn", label: "物料代码", width: 135, minWidth: 50, showOverflow: true },
  { prop: "qty", label: "数量", width: 80, minWidth: 50 },
  { prop: "unit", label: "单位", width: 80, minWidth: 50, showOverflow: true },
  { prop: "vendor", label: "供应商代码", width: 100, minWidth: 50, showOverflow: true },
  { prop: "v_name", label: "供应商名称", width: 100, minWidth: 50 },
  { prop: "dc", label: "DC", width: 80, minWidth: 50, showOverflow: true },
  { prop: "tradingCode", label: "交易代码", width: 80, minWidth: 50 },
  { prop: "po", label: "订单号", width: 135, minWidth: 50 },
  { prop: "invNo", label: "发票号", width: 135, minWidth: 50 },
  { prop: "lot", label: "LOT", width: 135, minWidth: 50, showOverflow: true },
  { prop: "mpn", label: "MPN", width: 135, minWidth: 50, showOverflow: true },
  { prop: "partType", label: "物料类型", width: 135, minWidth: 50 },
  { prop: "printContent", label: "条码内容", width: 135, minWidth: 50, showOverflow: true },
  { prop: "boxLabelContent", label: "外箱条码内容", width: 135, minWidth: 50 , showOverflow: true},
  { prop: "innerNum", label: "内箱张数", width: 80, minWidth: 50 },
  { prop: "status", label: "交互状态", width: 80, minWidth: 50 },
  { prop: "errMsg", label: "交互信息", width: 80, minWidth: 50, showOverflow: true },
  { prop: "operate", label: "操作", fixed: "right", width: 150, type: 'detail' },
]
export const formList = [
  { prop: "barcodeNo", label: "条码流水号" },
  { prop: "cpn", label: "物料代码" },
  { prop: "po", label: "订单号" },
  { prop: "invNo", label: "发票号" },
]